﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Curriculum_design
{
    class Food
    {
        //食物坐标
        private Point foodPoint;
        //食物颜色
        private Color foodColor = Color.Green;
        //食物大小
        private Size size = new Size(10, 10);

        public Point FoodPoint { get => foodPoint; set => foodPoint = value; }
        public Color FoodColor { get => foodColor; set => foodColor = value; }
        public Size Size { get => size; set => size = value; }
    }
}
